
<script>
	import IM from 'static/js/IM.js'
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			let user = uni.getStorageSync('im_account')
			if (user !== '' && user !== undefined && user !== null) {
				IM.getIM()
			} 
		},
		onHide: function() {
			console.log('App Hide')                                        
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
	button::after{
		border: none;
	}
	.mine-title{
		display: flex;
		align-items: center;
		justify-content: center;
		.bian{
			width: 10upx;
			height: 2upx;
			background-color: $zhuti-color;
		}
		text{
			font-size: 34upx;
			color: $zhuti-color;
			margin: 0 10upx;
		}
	}
	.logo-btn{
		color: #fff;
		border-radius: 50upx;
		width: 546upx;
		height: 96upx;
		font-size: 40upx;
		border: none;
		background-color: #D1AA56;
	}
	.border-btn{
		color: #D1AA56;
		border-radius: 50upx;
		font-size: 40upx;
		border: 1px solid #D1AA56;
		background-color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.bg-btn{
		color: #fff;
		border-radius: 50upx;
		font-size: 40upx;
		border: none;
		background-color: #D1AA56;
	}
	.mediun-btn{
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		background-color: #dbb769;
		width: 260upx;
		height: 75upx;
		border-radius: 80upx;
		color: #fff;
		margin-top: 80upx;
	}
	.small-btn{
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		background-color: #dbb769;
		width: 138upx;
		height: 64upx;
		border-radius: 80upx;
		color: #fff;
		font-size: 23upx;
	}
	iframe{
		display: none;
	}
</style>
